package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

/**
 * @Author liub
 * @Date 2019/11/21 8:38
 * @Version 1.0
 */
public class MatBadpheno extends BasePojo {
    /**
     * 物料流程不良现象ID
     */
    private Integer matBadphenoId;
    /**
     * 物料流程ID
     */
    private Integer matFlowId;
    /**
     * 不良现象ID
     */
    private Integer badphenoId;
    /**
     * 创建日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * 修改日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    /**
     * 说明
     */
    private String remark;
    /**
     * 数据状态
     */
    private Integer dataState;
    /**
     * 不良现象名称
     */
    private String badphenoName;
    /**
     * 不良现象类型名称
     */
    private String badphenoTypeName;
    /**
     * 不良现象类型ID
     */
    private Integer badphenoTypeId;

    private Integer newMatFlowId;

    private Integer orderFlowId;

    public Integer getOrderFlowId() {
        return orderFlowId;
    }

    public void setOrderFlowId(Integer orderFlowId) {
        this.orderFlowId = orderFlowId;
    }

    public Integer getNewMatFlowId() {
        return newMatFlowId;
    }

    public void setNewMatFlowId(Integer newMatFlowId) {
        this.newMatFlowId = newMatFlowId;
    }

    public Integer getMatBadphenoId() {
        return matBadphenoId;
    }

    public void setMatBadphenoId(Integer matBadphenoId) {
        this.matBadphenoId = matBadphenoId;
    }

    public Integer getMatFlowId() {
        return matFlowId;
    }

    public void setMatFlowId(Integer matFlowId) {
        this.matFlowId = matFlowId;
    }

    public Integer getBadphenoId() {
        return badphenoId;
    }

    public void setBadphenoId(Integer badphenoId) {
        this.badphenoId = badphenoId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public String getBadphenoName() {
        return badphenoName;
    }

    public void setBadphenoName(String badphenoName) {
        this.badphenoName = badphenoName;
    }

    public String getBadphenoTypeName() {
        return badphenoTypeName;
    }

    public void setBadphenoTypeName(String badphenoTypeName) {
        this.badphenoTypeName = badphenoTypeName;
    }

    public Integer getBadphenoTypeId() {
        return badphenoTypeId;
    }

    public void setBadphenoTypeId(Integer badphenoTypeId) {
        this.badphenoTypeId = badphenoTypeId;
    }
}